import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { Tabbar, TabbarItem, IndexBar, IndexAnchor, Cell, List, ActionBar, ActionBarIcon, ActionBarButton, NavBar } from "vant";
// 2. 引入组件样式
import "vant/lib/index.css";

const app = createApp(App);
app.use(store);
app.use(router);

app.use(Tabbar).use(TabbarItem).use(IndexBar).use(IndexAnchor).use(Cell)
.use(List)
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(NavBar);

app.mount("#app");
